package com.atguigu.flow.mapper;

import com.atguigu.flow.entity.OriginUserBO;
import com.atguigu.flow.entity.ParamBO;
import com.atguigu.flow.entity.UserListBO;
import com.atguigu.flow.entity.UserOriginBO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;


import java.util.List;

/**
 * @author zhl
 * @create 2021/9/7 13:49
 */
public interface UserListMapper extends BaseMapper<UserListBO> {
    List<UserListBO> getUserList(UserListBO bo);

    UserListBO getUserInfoByUser(String user);


    long isExist(UserListBO bo);

    void updateUserByUser(String password, String user);


    List<OriginUserBO> getOriginUserList(ParamBO bo);

    void setIsLocked(String id, String isLocked);

    void updatePassword(String id, String newPassword);

    List<String> getCustomerIdByUserId(String userId);

    void deleteUserOriginByUserId(String userId);

    void insertUserOrigin(UserOriginBO bo);

    int getUserListCount(UserListBO bo);

    int getOriginUserListCount(ParamBO bo);

}
